/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.admin.controller;

import com.admin.model.EventLibraryFacadeLocal;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;

/**
 *
 * @author Tuan Long
 */
@Stateless
public class EventCommentManager implements EventCommentManagerRemote {
    @EJB
    private EventLibraryFacadeLocal eventLibraryFacade;

    /**
     * EventCommentManager.readEventComments
     *  desc: return to List of JSONObject-string 
     * @return List<>
     */
    
    @Override
    public List<String> readEventComments() {
        List<String> jsonlist = new ArrayList<String>();
        jsonlist = eventLibraryFacade.readEventComments();
        return jsonlist;
    }
    /***********************/
    /***********************/
}
